@echo off

set MinimumScalarProduct_output_path=.\build\MinimumScalarProduct

echo.
echo Ensuring output directory (%MinimumScalarProduct_output_path%) exists...
if not exist %MinimumScalarProduct_output_path% md %MinimumScalarProduct_output_path%

echo.
echo Building MinimumScalarProduct...
javac -cp ".\CodeJamCore\src;.MinimumScalarProduct\src" -d "%MinimumScalarProduct_output_path%" ".\MinimumScalarProduct\src\com\google\codejam\minimumscalarproduct\*.java"